package org.googlecode.openapi_java;


public final class Constants {
    public static final String API_VERSION = "3.0";
    public static final String SESSION_TOKEN = "session=";
    public static final String authUrl = "http://vkontakte.ru/login.php";
    public static final String apiUrl = "http://api.vkontakte.ru/api.php";

    public static final String SUCCESS_URL = "http://vkontakte.ru/api/login_success.html";
    public static final String FAILURE_URL = "http://vkontakte.ru/api/login_failure.html";
    
    public static final String FORMAT = "JSON";

    public static final int ACCESS_NOTIFICATIONS = 1;
    public static final int ACCESS_FRIENDS = 2;
    public static final int ACCESS_PHOTOS = 4;
    public static final int ACCESS_AUDIO = 8;
    public static final int ACCESS_VIDEO = 16;
    public static final int ACCESS_SUGGESTIONS = 32;
    public static final int ACCESS_QUESTIONS = 64;
    public static final int ACCESS_WIKI = 128;
    public static final int ACCESS_ADD_LINK = 256;
    public static final int ACCESS_ADD_WALL_LINK = 512;
    public static final int ACCESS_STATUSES = 1024;

    public static final int ACCESS_ALL = ACCESS_NOTIFICATIONS | ACCESS_FRIENDS
            | ACCESS_PHOTOS | ACCESS_AUDIO | ACCESS_VIDEO | ACCESS_SUGGESTIONS
            | ACCESS_QUESTIONS | ACCESS_WIKI | ACCESS_ADD_LINK
            | ACCESS_ADD_WALL_LINK | ACCESS_STATUSES;
    
    
 
    
}
